package chat.ui;

import java.awt.Dimension;
import java.awt.Toolkit;

import javax.swing.JFrame;

public class GroupSelectionWindow extends JFrame{
	
	public GroupSelectionWindow(){
		
		Toolkit kit = Toolkit.getDefaultToolkit();
		Dimension dm = kit.getScreenSize();
		
		Double screenWidth= dm.getWidth();
		Double screenHeight = dm.getHeight();
		
		Integer w = screenWidth.intValue();
		Integer h = screenHeight.intValue();
		
		setBounds(300,300,w/3,h/2);
		
		setVisible(true);
	}
	
	public static void main (String[] args){
		
		GroupSelectionWindow gw = new GroupSelectionWindow();
		gw.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
	}
}
